package com.suse.service.admin.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suse.common.config.response.R;
import com.suse.service.admin.edu.model.entity.Video;
import com.suse.service.admin.edu.model.param.VideoSaveParam;
import com.suse.service.admin.edu.model.param.VideoUpdateParam;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-08-11
 */
public interface VideoService extends IService<Video> {

    /**
     * 通过ID获取课时信息
     * @param id ID
     * @return R
     */
    R getVideoInfoById(String id);

    R saveVideo(VideoSaveParam videoSaveParam);

    R updateVideo(VideoUpdateParam videoUpdateParam);

    R removeVideoById(String id);

}
